﻿<%@ Page Title="Coca-Cola 账户管理" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true"
    CodeBehind="AccountManagement.aspx.cs" Inherits="PCMSofCC.Admin.AccountManagement" %>

<asp:Content ID="Content2" ContentPlaceHolderID="Head" runat="server">
    <link href="../css/content.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="server">
    <div id="accountManagementContainer" class="accountManagementContainer">
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString1 %>"
            SelectCommand="SELECT [UserName] FROM [vw_aspnet_Users]"></asp:SqlDataSource>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1"
            OnRowCommand="GridView1_RowCommand" CssClass="gridView" RowStyle-CssClass="gridViewItem1"
            AlternatingRowStyle-CssClass="gridViewItem2">
            <Columns>
                <asp:BoundField DataField="UserName" HeaderText="用户名" SortExpression="UserName" HeaderStyle-CssClass="gridViewHead" />
                <asp:TemplateField ShowHeader="False" HeaderStyle-CssClass="gridViewHead" HeaderText="操作">
                    <ItemTemplate>
                        <asp:Button ID="Button1" runat="server" CausesValidation="false" CssClass="button4"
                            CommandName="ResetPasswordCommand" Text="重置密码" />
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
        <asp:Label ID="NewPassword" runat="server" Text="Label" Visible="False" 
            ForeColor="Black"></asp:Label>
    </div>
</asp:Content>
